/*** Eclipse Class Decompiler plugin, copyright (c) 2016 Chen Chao (cnfree2000@hotmail.com) ***/
package com.guoxue.service.impl;

import com.guoxue.dao.ICoinsDao;
import com.guoxue.domain.CoinsVo;
import com.guoxue.service.ICoinsService;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class CoinsServiceImpl implements ICoinsService {

	@Resource
	private ICoinsDao coinsDao;

	public CoinsVo getCoinsById(int id) {
		return coinsDao.getCoinsById(id);
	}

	public List<CoinsVo> getCoinsList() {
		return coinsDao.getCoinsList();
	}

	@Override
	public void saveCoins(CoinsVo c) {
		coinsDao.saveCoins(c);
	}

	@Override
	public void deleteCoins(Integer id) {
		coinsDao.deleteCoins(id);
	}
}